package com.ruoyi.stuclass.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生管理对象 student
 * 
 * @author ruoyi
 * @date 2024-10-22
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学号 */
    private Long sId;

    /** 班级 */
    @Excel(name = "班级")
    private String sClass;

    /** 入学时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入学时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sDate;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String sNum;

    /** 性别 */
    @Excel(name = "性别")
    private Long sSex;

    /** 头像 */
    @Excel(name = "头像")
    private String sImage;

    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void setsClass(String sClass) 
    {
        this.sClass = sClass;
    }

    public String getsClass() 
    {
        return sClass;
    }
    public void setsDate(Date sDate) 
    {
        this.sDate = sDate;
    }

    public Date getsDate() 
    {
        return sDate;
    }
    public void setsNum(String sNum) 
    {
        this.sNum = sNum;
    }

    public String getsNum() 
    {
        return sNum;
    }
    public void setsSex(Long sSex) 
    {
        this.sSex = sSex;
    }

    public Long getsSex() 
    {
        return sSex;
    }
    public void setsImage(String sImage) 
    {
        this.sImage = sImage;
    }

    public String getsImage() 
    {
        return sImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sId", getsId())
            .append("sClass", getsClass())
            .append("sDate", getsDate())
            .append("sNum", getsNum())
            .append("sSex", getsSex())
            .append("sImage", getsImage())
            .toString();
    }
}
